@import "common_c";

#page-wrapper {
  button {
    outline: none;
  }
  color: #333;
  //margin-left: 253px;
  .nav_right {
    padding-left: 35px;
    span.warning {
      margin: 8px 16px;
      font-size: 16px;
      height: 44px;
      display: inline-block;
      line-height: 44px;
      font-weight: normal;
    }
  }
  div.main {
    width: 97%;
    //height: 390px;
    margin: 10px auto;
    border-top: 6px solid #e7eaec;
    .main_top {
      border: 1px solid #ccc;
      min-height: 390px;
      background-color: #fff;
      .count_text {
        padding-left: 26px;
        border-bottom: 1px solid #ddd;
        font-weight: 400;
        display: block;
        height: 40px;
        font-size: 16px;
        line-height: 40px;
      }
      div.classify {

        margin: 38px 35px;
        font-size: 16px;
        overflow: hidden;
        div {
          display: inline-block;
          //border: 1px solid red;
          height: 40px;
          .to {
            line-height: 40px;
            text-align: center;
            vertical-align: bottom;
            display: inline-block;
            width: 25px;
            //background-color: #f5f5f5;
            height: 40px;
            //border: 1px solid #e5e6e7;
          }
          select {
            border: 1px solid #e5e6e7;
            width: 80%;
            padding-left: 0.625rem;
            margin-left: 4px;
            max-width: 220px;
            height: 40px;
            border-radius: 2px;
            outline: none;
            &:focus {
              border-color: #1ab394 !important;
            }
            @media (max-width: 1700px) {
              width: 60%;
            }
            @media (max-width: 1600px) {
              width: 50%;
            }
          }
          &.sex {
            padding-left: 0;
          }
          &.age {
            input {
              text-align: center;
              border: 1px solid #e5e6e7;
              height: 40px;
              width: 34%;
              max-width: 220px;
              outline: none;
              border-radius: 5px;
              &:focus {
                border-color: #1ab394 !important;
              }
            }
          }
          &.date {
            input {
              border: 1px solid #e5e6e7;
              height: 40px;
              width: 35%;
              max-width: 220px;
              font-size: 16px;
              color: #333;
              padding-left: 34px;
            }
          }
        }

      }
      div.choose {
        border: 1px solid #e7eaec;
        width: 97%;
        margin: 0 auto;
        min-height: 158px;
        div.result {
          clear: both;
          height: 100%;
          width: 100%;
          .all {
            outline: none;
            border: none;
            width: 100%;
            color: #999;
            font-size: 16px;
            padding: 16px;
            height: 100%;
            opacity: 0.7;
            //place-opacity:0.7;
            font-weight: 300;
            background-color: #fafafa;
            border-top: 1px solid #e7eaec;
            b {
              font-weight: normal;
            }
            span {
              display: inline-block;
              position: relative;
              margin-right: 10px;
              font-size: 16px;
              color: @bg-color;
              padding: 5px 10px;
              border: 1px solid @bg-color;
              margin-bottom: 10px;

              &.range {
                cursor: pointer;
              }
              i.delete {
                text-align: center;
                //border:1px solid red;
                cursor: pointer;
                vertical-align: middle;
                margin-left: 9px;
                margin-top: -3px;
                font-size: 12px;
                line-height: 12px;
                width: 14px;
                height: 14px;
                font-style: normal;
                text-decoration: none;
                background-color: rgba(0, 0, 0, 0.3);
                color: #fff;
                border-radius: 50%;
                background-color: #ccc;
                display: inline-block;
              }
            }
          }
        }

      }
    }
    .btn_all {
      margin: 21px auto;
      text-align: right;

      button {
        width: 100px;
        height: 38px;
        font-size: 16px;
        line-height: 38px;
        text-align: center;
        border-radius: 4px;
        &.find {
          background-color: #1ab394;
          margin-right: 15px;
          color: #fff;
          line-height: 14px;
          border: none;
        }
        &.reset {
          line-height: 14px;
          border: 1px solid #e7eaec;
          margin-right: 36px;
          background-color: transparent;
          color: #ccc;
        }
      }
    }
    div.main_bottom {
      width: 100%;
      margin-top: 25px;
      height: 250px;
      //border: 1px solid #e5e6e7;
      ul {
        border-top: 6px solid #e7eaec;
        li {

          overflow: hidden;
          min-height: 74px;
          background-color: #fff;
          border: 1px solid #e7eaec;
          border-top: none;
          h3 {
            //position: relative;
            display: none;
            padding: 0 16px 16px 0;
            margin: 0;
            border-top: 1px solid #e7eaec;
            //height: 112px;
            width: 100%;
            overflow: hidden;

            background-color: #f7f7f7;
            font-weight: normal;
            font-size: 14px;
            color: #333;
            span {
              webkit-user-select: none;
              -moz-user-select: none;
              -ms-user-select: none;
              user-select: none;
              cursor: pointer;
              display: inline-block;
              padding: 8px 16px;
              background-color: #fff;
              border: 1px solid #e7eaec;
              margin-top: 16px;
              color: #333;
              margin-right: 16px;
              margin-left: 10px;
            }
            span.pitch {
              color: #1ab394;
              border: 1px solid #1ab394;
            }
            span.include {
              position: relative;
              i {
                position: absolute;
                top: 33px;
                left: 0;
                display: inline-block;
              }
            }

          }
          //添加等诊断的分页样式
          ul#diagnosis_page,#diagnosis_cn_page {
            border: none;
            float: right;
            display: none;
            margin-right: 40px;
            li {
              height: 30px;
              width: 30px;
              border: none;
              a {
                padding: 0;
                height: 30px;
                width: 30px;
                line-height: 30px;
                text-align: center;
                border: 1px solid @border-s-color;
                color: @font-color;
              }
              &.active {
                a {
                  background-color: #fff;
                  -webkit-box-shadow: 0px 2px 7px #ccc inset;
                  -moz-box-shadow: 0px 2px 7px #ccc inset;
                  box-shadow: 0px 2px 7px #ccc inset;
                }
              }
            }
            //li {
            //  border: none;
            //  height: 30px;
            //  width: 30px;
            //  a{
            //    padding: 0;
            //    height: 30px;
            //    width: 30px;
            //    line-height: 30px;
            //    text-align: center;
            //  }
            //}
          }
          a {
            display: block;
            padding: 26px 24px;
            //margin: 26px 24px;
            color: #333;
            font-size: 16px;
            i.list {
              float: right;
              color: #ccc;
              width: 26px;
              height: 26px;
              margin: 2px 44px;
            }
            .search_input {
              display: none;
              float: right;
              //width: 330px;
              width: 21%;
              height: 34px;
              padding-left: 10px;
              font-size: 16px;
              //color: #ccc;
              placeholder-color: #ccc;
              opacity: 0.7;
              color: #333;
              line-height: 34px;
              outline: none;
              //@media(max-width:1700px){
              //  width: 60%;
              //}
              //@media(max-width:1600px){
              //  width: 50%;
              //}
              &:focus {
                border: 1px solid #1ab394 !important;
              }

            }
            i.search {
              display: none;
              float: right;
              width: 38px!important;
              height: 34px!important;
              text-align: center;
              font-size: 22px;
              line-height: 34px;
              color: #fff;
              background-color: #1AB394;
            }
          }

        }
      }
    }
    .table_div {
      background-color: #fff;
      overflow: hidden;
      display: none;
      p {
        padding: 8px 0;
        margin: 0;
        height: 38px;
        border-bottom: 1px solid #e7eaec;
        i {
          display: inline-block;
          width: 45px;
          text-align: center;
          cursor: pointer;
          padding-left: 8px;
        }
        b {
          display: inline-block;
          height: 23px;
          font-size: 16px;
          padding-left: 18px;
          border-left: 1px solid #979797;
        }
      }
      div#export {
        width: 100px;
        height: 38px;
        color: #fff;
        background-color: @bg-color;
        float: right;
        margin: 17px 23px;
        font-size: 16px;
        line-height: 38px;
        cursor: pointer;
        border-radius: 4px;
        i {
          margin: 0 8px 0 19px;
        }
      }
      .bottom_main {
        margin: 72px 23px 0 23px;
        width: 100%;
        padding-right: 44px;
        .table-parent {
          width: 100%;
          overflow: scroll;
        }
        table.sick_table {
          min-width: 120%;
          .checkbox {
            margin: 0;
            padding: 0;
            width: 18px;
            display: inline-block;
            height: 18px;
            border-radius: 2px;
            outline: none;
          }

          thead {
            tr {
              td {
                padding-left: 20px;
                color: #333;
                font-size: 16px;
                font-weight: 500;
                &:first-child {
                  width: 56px;
                }
              }
            }
          }
          tbody {
            tr {
              td {
                &.nameTD {
                  max-width: 60px;
                }
                &:first-child {
                  display: none;
                } ;
                //padding-left: 20px;
                font-size: 16px;
                color: #333;
                //&:first-child{
                //width: 45px;
                //}
                &.gray {
                  background-color: #fafafa;
                }
                a.collapse-link, b.collapse-link, s.collapse-link {
                  //float: right;
                  width: 20px;
                  //margin-left: 30px;
                  float: right;
                  //margin-right: 60px;
                  height: 20px;
                }
                //margin-right:15px ;
              }

              .fa {
                display: inline-block;
                font-size: 12px;
                text-rendering: auto;
                -webkit-font-smoothing: antialiased;
                -moz-osx-font-smoothing: grayscale;
                transform: translate(0, 0);
                color: #666;
              }
              span.name {
                display: inline-block;
                //margin-left: 50px;
                //float: left;
              }
            }
          }
        }
      }
      .page_cc {
        margin: 0 auto;
        text-align: right;
        width: 90%;
        ul#CCpage {
          margin-top: 7px;
          li {
            a {
              border: 1px solid @border-s-color;
              color: @font-color;
            }
            &.active {
              a {
                background-color: #fff;
                -webkit-box-shadow: 0px 2px 7px #ccc inset;
                -moz-box-shadow: 0px 2px 7px #ccc inset;
                box-shadow: 0px 2px 7px #ccc inset;
              }
            }
          }
        }
        #CCpageShow {
          //display: inline-block;
          padding: 0;
          margin-top: 7px;
          float: left;
          height: 26px;
          width: 200px;
          text-align: left;
          border: none;
        }
      }
    }
    i.fa {
      color: #ccc !important;
      width: 26px !important;
      height: 26px !important;
    }

  }

}

.exportChoose {
  position: fixed;
  display: none;
  top: 0;
  z-index: 1000;
  left: 28%;
  @media (max-width: 1600px) {
    left: 25%;
  }
  @media (max-width: 1500px) {
    left: 24%;
  }
  background: #FFFFFF;
  width: 884px;
  border: 1px solid #E7EAEC;
  box-shadow: 0 2px 10px 5px rgba(144, 144, 144, 0.50);
  .top {
    height: 56px;
    font-size: 20px;
    color: #333333;
    line-height: 56px;
    margin-left: 23px;
  }
  .middle {
    //height: 220px;
    max-height: 300px;
    overflow-y: scroll;
    padding: 16px 23px 58px 23px;
    background-color: #f7f7f7;
    border: 1px solid @border-s-color;
    span {
      webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
      cursor: pointer;
      display: inline-block;
      padding: 8px 16px;
      background-color: #fff;
      border: 1px solid #e7eaec;
      margin-top: 16px;
      color: #333;
      margin-right: 16px;
      i.delete {
        display: none;
      }
    }
    span.pitch {
      color: #1ab394;
      border: 1px solid #1ab394;
    }
  }
  .bottom {
    height: 94px;
    padding: 30px;
    button {
      width: 100px;
      height: 37px;
      line-height: 37px;
      text-align: center;
      border-radius: 4px;
      font-size: 16px;
      float: right;
    }
    .cancel {
      background: #FFFFFF;
      border: 1px solid #E7EAEC;
      color: #333333;
      line-height: 14px;
      margin-right: 20px;
    }
    .confirm {
      color: #fff;
      line-height: 16px;
      background: @bg-color;
      outline: none;
    }
  }
}

div#myPrompt {
  //width: 402px;
  min-height: 251px;
  position: fixed;
  z-index: 1000;
  background-color: @bg-color-gray;
  display: none;
  top: 0;
  left: 32%;
  @media (max-width: 1700px) {
    left: 27%;
  }
  @media (max-width: 1600px) {
    left: 25%;
  }
  //background: #FFFFFF;
  width: 884px;
  border: 1px solid #E7EAEC;
  box-shadow: 0 2px 10px 5px rgba(144, 144, 144, 0.5);
  h2 {
    margin: 0;
    //margin-bottom: 20px;
    padding: 38px 38px 0;
    font-size: 14px;
    div {
      margin-bottom: 35px;
      display: inline-block;
      margin-right: 28px;
      span {
        margin-left: 9px;
        color: #333;
        font-family: PingFangSC-Regular;
      }
      &.cnDiDiv{
       position: relative;
        h6{
          display: none;
          width: 0;
          height: 0;
          transform: translate(-50%, -50%);
          position: absolute;
          top: 22px;
          z-index: 4;
          left: 50%;
          border-style: solid;
          border-width: 8px;
          border-color: #fff #fff transparent transparent;
          transform: rotate(315deg);
          box-shadow: 2px -2px 2px #ccc;
        }
        h3.ThirdList{
          display: none;
          font-weight: normal;
          font-size: 14px;
          overflow: hidden;
          z-index: 2;
          top: 32px;
          height: 90px;
          background: #FFFFFF;
          border: 1px solid #E5E6E7;
          box-shadow: 0 3px 7px 2px rgba(144,144,144,0.30);
          left: 50%;
          transform: translate(-50%, 0%);
          position: absolute;
          padding: 10px 22px 0 0;
          width: 332px;
          /* top: 44px; */
          /* left: 0; */
          div{
            color: #333;
            font-size: 14px;
            margin: -5px 20px;
            display: inline-block;
            float: left;
            position: relative;
            text-align: left;
            b{
              border: 1px solid #ddd;
              width: 12px;
              border-radius: 4px;
              height: 12px;
              display: inline-block;
              vertical-align: text-bottom;
              &.b{
                  background:url("../images/dui 2.png") no-repeat  -1px;
                  border:none;
              }
            }
          }
        }
      }

    }
  }
  h3 {
    float: right;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
  }
  p {
    text-align: center;
    color: @font-color;
    margin: 0;
    &.canshu {
      //font-family: PingFangSC-Medium;
      margin-top: 20px;
      font-size: 20px;
      text-align: left;
      padding-left: 27px;
      color: #333333;
    }
    &.name {
      clear: both;
      font-size: 20px;
      height: 60px;
      line-height: 60px;
      text-align: left;
      padding-left: 23px;
      background-color: #fff;
    }
    &.btnF {
      margin-left: 24px;
      //display: inline-block;
      float: left;
      color: @font-color;
      height: 40px;
      font-size: 16px;
      margin-top: 26px;
      margin-right: 34px;
      b {
        font-weight: normal;
      }
      i {
        margin-left: 10px;
        width: 105px;
        height: 40px;
        background: #FFFFFF;
        border: 1px solid #E5E6E7;
        border-radius: 2px;
        display: inline-block;
        text-decoration: none;
        font-size: 26px;
        font-style: normal;
        cursor: pointer;
        &:last-child {
          margin-left: 30px;
        }
        &.choose {
          border: 1px solid #1AB394;
          color: #1AB394;
        }
      }
    }
    &.write {
      //display: inline-block;
      color: @font-color;
      float: left;
      height: 40px;
      font-size: 16px;
      margin-top: 26px;
      margin-left: 30px;
      margin-bottom: 36px;
      b {
        font-weight: normal;
        &.noClick {
          opacity: 0.5;
        }
      }
      input {
        padding-left: 15px;
        margin-left: 10px;
        height: 40px;
        width: 130px;
        background: #FFFFFF;
        border: 1px solid #E5E6E7;
        border-radius: 2px;
        //vertical-align: bottom;
        outline: none;
        &:focus {
          border: 1px solid #1ab394 !important;
        }
        &.noClick {
          opacity: 0.5;
        }
      }

    }

    &.btnOr {
      clear: both;
      height: 85px;
      width: 100%;
      margin-top: 25px;
      background-color: #fff;
      color: #333;
      padding: 26px;
      button {
        float: right;
        margin-left: 20px;
        width: 100px;
        height: 37px;
        font-size: 16px;
        line-height: 16px;
        text-align: center;
        border-radius: 4px;
        &.cancel {
          background: #FFFFFF;
          border: 1px solid #E7EAEC;
        }
        &.confirm {
          background: #1AB394;
          color: #fff;
        }
      }

    }
    //控制inout为number类型时不显示上和下两个小箭头；
    input::-webkit-outer-spin-button,
    input::-webkit-inner-spin-button {
      -webkit-appearance: none;
    }

  }
}


